const mongoose = require("mongoose");
var productSchema = new mongoose.Schema({
	pname: String,
	price: Number,
	num: Number,
	ristory: {type:mongoose.Schema.Types.ObjectId,ref:"ristory"}
});
mongoose.model("product",productSchema);
